package com.qingjiang.projectschedule.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.List;

import lombok.Data;

/**
 * @TableName user_info
 */
@TableName(value ="user_info")
@Data
public class UserInfo implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer uid;

    private String username;

    private Integer roleid;

    private Integer deptid;
    private Integer sms;
    private Integer isAbandon;

    private String abandonTime;

    private Long istaffid;

    private String sstaffname;

    private String sstaffaccount;

    @TableField(exist = false)
    private Role role;

    @TableField(exist = false)
    private Department department;

    @TableField(exist = false)
    private List<Object> depts;

    private static final long serialVersionUID = 1L;
}